package com.jingxuan.dto.request;

import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class UpdateCartItemQuantityRequest {
    /**
     * 商品数量
     */
    @NotNull(message = "商品数量不能为空")
    @Min(value = 0, message = "商品数量必须大于等于0")
    private Integer quantity;
}
